package com.byzk.p2p.admin.system.dao;

import java.util.List;
import java.util.Map;

import com.byzk.p2p.admin.system.dto.MemberLevel;

public interface MemberDao {

	public MemberLevel getById(Integer id);
	
	public Integer insert(MemberLevel member);
	
	public Integer update(MemberLevel member);
	
	public Integer delete(Integer id);
	//遍历所有等级用于计算
	public List<MemberLevel> listAll();
	//遍历所有等级用于显示
	public List<MemberLevel> listAll1(Map<String,Object> queryMap);
	//计算等级的数量
	public Integer count(Map<String,Object> queryMap);

}
